package org.cn.lennon.mybatis.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.cn.lennon.mybatis.executors.OperationType;

@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD})
public @interface SqlAnnotation {
	String sql() default "";
	Class<?> resultType() default void.class;
	OperationType type() default OperationType.SELECT;
}
